<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head>
<title>自动测试</title>

<link rel="stylesheet" href="../../styles/css/metro.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap.min.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-table.min.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-combobox.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-dialog.css"/>
<link rel="stylesheet" href="../../styles/css/skinBlue.css" id="skinColour">

<script src="../../jsplugin/jquery.min.js"></script>
<script src="../../jsplugin/bootstrap.min.js"></script>
<script src="../../jsplugin/jquery.ztree.core.js"></script>
<script src="../../jsplugin/bootstrap-table.min.js"></script>
<script src="../../jsplugin/bootstrap-table-zh-CN.min.js"></script>
<script src="../../jsplugin/bootstrap-combobox.js"></script>
<script src="../../jsplugin/bootstrap-dialog.js"></script>
<script src="../../common/common.js"></script>
<style>
.showImage-dialog .modal-dialog {
                width: 1234px;
            }
.showImage-dialog1 .modal-dialog {
                width: 834px;
            }
</style>
</head>
<body>
<div class="panel-body" style="padding-bottom:0px;">
        <div class="panel panel-default">
            <div class="panel-heading">查询条件</div>
            <div class="panel-body">
                <form id="formSearch" class="form-horizontal">
                    <div class="form-group" style="margin-top:15px">
                        <label class="control-label col-sm-1" >任务名称</label>
                        <div class="col-sm-2">
                            <input type="text" class="form-control" id="taskName">
                        </div>
                        <label class="control-label col-sm-1" for="caseNumberSearch">任务编号</label>
                        <div class="col-sm-2">
                            <input type="text" class="form-control" id="taskCode">
                        </div>
                        <label class="control-label col-sm-1" for="caseTypeSearch">测试状态</label>
                        <div class="col-sm-2">
                        <select class="combobox form-control" name="inline"  id="taskStatus"  >
                        	<option value="">请选择</option>
                        	<option value="0">未开始</option>
                        	<option value="1">进行中</option>
                        	<option value="2">已完成</option>
                        	<option value="3">异常结束</option>
                        </select> 
                        </div>
                        <div class="col-sm-2" style="text-align:left;">
                            <button type="button" style="margin-left:50px;width:100px;" id="btn_query" class="btn btn-primary" onclick="queryBytableId('testTaskTables')">查询</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>       

        <div id="toolbar" class="btn-group">
            <button id="btn_add" type="button" class="btn btn-default" onclick="addTestTask()">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>创建任务
            </button>
            <button id="btn_delete" type="button" class="btn btn-default" onclick="deleteTestTask()">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除任务
            </button>
            <button id="btn_imp" type="button" class="btn btn-default" onclick="exportWord()">
                <span class="glyphicon glyphicon-share" aria-hidden="true"></span>导出报告
            </button>
            <button id="btn_imp" type="button" class="btn btn-default" onclick="taskDetail()">
                <span class="glyphicon glyphicon-th" aria-hidden="true"></span>结果详情
            </button>
        </div>
        <table id="testTaskTables" style="min-width:1800px;table-layout:fixed"></table>
</div>
	<script src="../js/testTask.js"></script>
	<script src="../../common/myAlert.js"></script>
</body>
</html>